﻿using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell.Flavor;

namespace VSShellAssist.Platform.FlavorProjects
{
    [ComVisible(false)]
    [Guid("4E337367-132C-4100-BB84-66F3DD9C653D")]
    public class VSShellIsolatedApplicationSetupProjectFactory : FlavoredProjectFactoryBase
    {
        private VsPackage package;

        public VSShellIsolatedApplicationSetupProjectFactory(VsPackage package)
            : base()
        {
            this.package = package;
        }

        protected override object PreCreateForOuter(IntPtr outerProjectIUnknown)
        {
            return new VSShellIsolatedApplicationSetupProject(this.package);
        }
    }
}
